package com.springmvc.controller;


import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Component("/index.do")
public class IndexController implements Controller {
    @Override
    public Object handler(HttpServletRequest request, HttpServletResponse response) {
        System.out.println("controller test...");
        return "beanNameControllerTeesst";
    }
}
